package com.example.up.enty;

import java.io.Serializable;

public class Version implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3L;

	private String md5;
	private boolean needUpgrade;
	private String upgradeDescription;
	private String upgradeType;
	private String upgradeUrl;
	private String versionNumber;

	public Version() {

	}

	public Version(String md5, boolean needUpgrade, String upgradeDescription,
			String upgradeType, String upgradeUrl, String versionNumber) {
		super();
		this.md5 = md5;
		this.needUpgrade = needUpgrade;
		this.upgradeDescription = upgradeDescription;
		this.upgradeType = upgradeType;
		this.upgradeUrl = upgradeUrl;
		this.versionNumber = versionNumber;
	}

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	public boolean isNeedUpgrade() {
		return needUpgrade;
	}

	public void setNeedUpgrade(boolean needUpgrade) {
		this.needUpgrade = needUpgrade;
	}

	public String getUpgradeDescription() {
		return upgradeDescription;
	}

	public void setUpgradeDescription(String upgradeDescription) {
		this.upgradeDescription = upgradeDescription;
	}

	public String getUpgradeType() {
		return upgradeType;
	}

	public void setUpgradeType(String upgradeType) {
		this.upgradeType = upgradeType;
	}

	public String getUpgradeUrl() {
		return upgradeUrl;
	}

	public void setUpgradeUrl(String upgradeUrl) {
		this.upgradeUrl = upgradeUrl;
	}

	public String getVersionNumber() {
		return versionNumber;
	}

	public void setVersionNumber(String versionNumber) {
		this.versionNumber = versionNumber;
	}

}
